.scrollTop {
    position: fixed;
    top: 80px;
    width: 300px;
}

#state {
    float: right;
    height: 82vh;
    width: 300px;
    overflow: hidden;

    .portrait {
        position: relative;
        width: 100%;
        height: 200px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        overflow: hidden;

        .head {
            width: 100px;
            height: 100px;
            border-radius: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            overflow: hidden;
            box-shadow: 3px 3px 3px rgba(0, 0, 0, .1);
            z-index: 1;

            img {
                width: 100%;
            }
        }

        h2 {
            z-index: 1;
            margin-top: 10px;
        }
    }

    // *portrait

    // 状态栏背景图片
    .portrait::after {
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        background-image: url('@/assets/img/user/bg/234.jpeg');
        background-size: 380px;
        background-position: bottom 50px;
        background-repeat: no-repeat;
        opacity: .5;
    }

    // *portrait::after

    // 消息
    .news {
        display: flex;
        height: 50px;
        justify-content: space-around;
        align-items: center;
        background-color: white;
        box-shadow: 0 -3px 3px rgba(0, 0, 0, .2),
            0 2px 2px rgba(0, 0, 0, .08);

        p {
            cursor: pointer;
            width: 100%;
            height: 30px;
            line-height: 30px;
            text-align: center;
            font-size: 14px;
            border-right: 1px solid rgba(0, 0, 0, .1);
            color: #333;
        }

        p:last-child {
            border-right: none;
        }
    }
}

@media screen and (max-width: 960px) {
    #state {
        display: none;
    }
}
